package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.ShopDetailsFragmentContract;
import com.zjc.yohoshop.mvp.model.ShopDetailsFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class ShopDetailsFragmentModules {

    private ShopDetailsFragmentContract.ShopDetailsFragmentIView iView;

    public ShopDetailsFragmentModules(ShopDetailsFragmentContract.ShopDetailsFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public ShopDetailsFragmentContract.ShopDetailsFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public ShopDetailsFragmentContract.ShopDetailsFragmentIModel providerIModel(){
        return new ShopDetailsFragmentModel();
    }


}
